/*
 * ennemy.h
 *
 *  Created on: 25 déc. 2010
 *      Author: remz
 */

#ifndef __ENNEMY_H__
#define __ENNEMY_H__

#include <string>
#include <iostream>

#include "../Action/IAction.h"

namespace rpg
{
	class Ennemy: public IAction
	{
	  private:
		std::string m_Name;
		int m_Hp;
		int m_Att;
		int m_Def;
		bool m_IsBoss;
		
	  public:
		Ennemy(std::string Name = std::string(), int Hp = 0, int Att = 0, int Def = 0, bool IsBoss = false);
		~Ennemy();

	    std::string getName() const;
	    void setName(std::string Name);

	    int getAtt() const;
	    void setAtt(int Att);

	    int getDef() const;
	    void setDef(int Def);

	    bool getIsBoss() const;
	    void setIsBoss(bool IsBoss);

	    int Attack(bool Crit);
	    int Defend();

	    int getHp() const;
	    void setHp(int Hp);

	};
} // ns rpg

#endif /*__ENNEMY_H__ */
